package com.kavy.gracemall.member;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan("com.kavy")
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.kavy.gracemall.member.feign") //服务器启动就会自动扫描feign包
public class GracemallMemberApplication {

    public static void main(String[] args) {
        SpringApplication.run(GracemallMemberApplication.class, args);
    }

}
